#pragma once
#include "ProjectPlanGUI\lbprojectplangui_global.h"
#include <QWidget>
#include <QToolBar>
#include "LBBaseGUI\GuiTreeCtrl.h"

namespace LBPROJGUI
{
    class CGanttChartWidget;

    class PROJECTPLANGUI_EXPORT CGuiDocument : public QWidget
    {
        Q_OBJECT
    public:
        CGuiDocument(QWidget *parent = Q_NULLPTR);
        ~CGuiDocument();

    public:
        LBGUI::CGUITreeCtrl* GetExplorerTreeWidget() const;
        QToolBar* GetToolBarWidget() const;
        LBGUI::CGUITreeCtrl* GetFloorTreeWidget() const;
        LBGUI::CGUITreeCtrl* GetSectionTreeWidget() const;
        QWidget* GetGraphWidget() const;
        CGanttChartWidget* GetGanttWidget() const;

    private:
        LBGUI::CGUITreeCtrl* m_pExplorerTree;
        LBGUI::CGUITreeCtrl* m_pSectionTree;
        LBGUI::CGUITreeCtrl* m_pFloorTree;
        QWidget* m_pGraphView;
        CGanttChartWidget* m_pGanttView;
        QToolBar* m_pToolBar;
    };
}
